<template>
	<view>
		<navigator url="/pages/APIpages/LogPage/LogPage"><button>打印日志</button></navigator>
		<navigator url="/pages/APIpages/TimePage/TimePage"><button>计时器</button></navigator>
		<navigator url="/pages/APIpages/StoragePage/StoragePage"><button>数据缓存</button></navigator>
		<navigator url="/pages/APIpages/RefreshPage/RefreshPage">
			<button type="primary">页面刷新</button>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {
			uni.preloadPage({
				url:"/pages/APIpages/StoragePage/StoragePage"
			})
		},
		methods: {
			goStoPage() {
				uni.navigateTo({
					url: "/pages/APIpages/StoragePage/StoragePage",
					success() {
						console.log("navigateTo--->success");
					},
					fail(e) {
						console.log("navigateTo--->fail: " + JSON.stringify(e));
					},
					complete() {
						console.log("navigateTo--->complete");
					}
				})
			}
		}
	}
</script>

<style>

</style>